﻿@model AugustaDevelopersGuild.Models.Meeting

@{
    ViewBag.Title = "Delete";
}

<h2>Delete</h2>

<h3>Are you sure you want to delete this?</h3>
<fieldset>
    <legend>Meeting</legend>

    <div class="display-label">Speaker</div>
    <div class="display-field">@Model.Speaker</div>

    <div class="display-label">EventDate</div>
    <div class="display-field">@String.Format("{0:g}", Model.EventDate)</div>

    <div class="display-label">Topic</div>
    <div class="display-field">@Model.Topic</div>

    <div class="display-label">RSVPs</div>
    <div class="display-field">@(Model.Rsvps == null ? "None" : Model.Rsvps.Count.ToString())</div>
</fieldset>
@using (Html.BeginForm()) {
    <p>
        <input type="submit" value="Delete" /> |
        @Html.ActionLink("Back to List", "Index", "Home")
    </p>
}


